﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace strategyPatternSample2
{
    public class dog: mamal
    {        
        public dog()
        {
            talkingBehavior = new talkingBark();
        }

        public override void name()
        {
            Console.WriteLine(" im a dog..");
        }
    }
}
